<!-- ############################## body content ############################## -->
<div id="body_content">
    <div id="tours_content">
      	<div id="detail_l" style="padding-right:5px;width:717px">
        	<div id="tours_line" style="border-bottom:1px solid #CCC">
		    	<img src="<?php echo base_url(); ?>public/images/home_icon.png" alt="" align="left" style="margin:-4px 5px 0px 0px;" /><a href="<?php echo base_url(); ?>">Home</a> &raquo; <a href="javascript:void(0)"><?php echo $title; ?></a>
		    </div>
            <div id="showinfo" style="padding-top:10px;padding-left:2px">
            	<fieldset style="padding:20px 40px;border:1px solid #DDD">
            	    <legend style="color:#F60;font-weight:bold">Register Free Card Member</legend>
				    <?php
				    if(isset($errors)){ echo "<div id='errors' style='color:#F06;margin-bottom::20px;border:1px dashed #F60;padding:5px 0px 5px 10px'>".$errors."</div>";}
				    if(validation_errors() != NULL){
				        echo "<div id='errors' style='color:#F06;margin-bottom::20px;border:1px dashed #F60;padding:5px 0px 5px 10px'>".validation_errors()."</div>";
				    }
				    ?>
				    <form action="<?php echo base_url(); ?>free-card-member.html" method="post" enctype="multipart/form-data" style="padding-top:20px">
				    <div class="form_items">
				        <div class="form_items_left"><label>Your name <span class="red">*</span></label></div>
				        <div class="form_items_right"><input type="text" id="name" name="name" value="<?php echo set_value('name'); ?>" size="25" /></div>
				    </div>
				    <div class="cls"></div>
				    <div class="form_items">
				        <div class="form_items_left"><label>Phone number<span class="red">*</span></label></div>
				         <div class="form_items_right"><input type="text" id="phone" name="phone" value="<?php echo set_value('phone'); ?>" size="25" /></div>
				    </div>
				    <div class="cls"></div>
				    <div class="form_items">
				        <div class="form_items_left"><label>Email<span class="red">*</span></label></div>
				         <div class="form_items_right"><input type="text" id="email" name="email" value="<?php echo set_value('email'); ?>" size="25" /></div>
				    </div>
                    <div class="cls"></div>
				    <div class="form_items">
				        <div class="form_items_left"><label>Address<span class="red">*</span></label></div>
				         <div class="form_items_right"><input type="text" name="address" value="<?php echo set_value('address'); ?>" size="25" /></div>
				    </div>
				    <div class="cls"></div>
				    <div class="form_items">
				        <div class="form_items_left"><label>Avatar<!--span class="red">*</span--></label></div>
				         <div class="form_items_right"><input type="file" id="avatar" name="avatar" size="25" /></div>
				    </div>
				    <div class="cls"></div>
				    <div class="form_items">
				        <div class="form_items_left"><label>Information</label></div>
				        <div class="form_items_right"><textarea cols="23"  id="info" rows="5" name="info"><?php echo set_value('info'); ?></textarea></div>
				    </div>
				    <div class="cls"></div>
				    <div class="form_items">
				        <div class="form_items_left"><label>Captcha code</label></div>
				        <div class="form_items_right"><img src="<?php echo base_url(); ?>home/ran_image" alt="Captcha" title="Captcha" /></div>
				    </div>
				    <div class="cls"></div>
				    <div class="form_items">
				        <div class="form_items_left"><label>Enter captcha<span class="red">*</span></label></div>
				        <div class="form_items_right"><input type="text" id="captcha" name="captcha" size="25" /></div>
				    </div>
				    <div class="cls"></div>
				    <div class="form_items">
				        <div class="form_items_left"><label>&nbsp;</label> </div>
				        <div class="form_items_right"><input type="submit" name="ok" id="ok" value="Register" class="subbs" style="margin:0px;" /><input type="reset" value="Reset" class="subbs"/></div>
				    </div>
				</form>
			</fieldset>
            </div>
        </div>
      	<div id="detail_r">
        	<div id="hottours">
              	<div class="hot_top"><h3>COMPANY</h3></div>
              	<div class="hot_related">
               	 	<ul>
	                <?php
					if(isset($related)){
						foreach($related as $rela){
							echo "<li><a href='".base_url()."about-us/".$rela['in_name_rewrite']."/".$rela['in_id'].".html'>".$rela['in_name']."</a></li>";
						}
					}
					?>
	                </ul>
                </div>
            </div>
            <div id="support_online"><img src="<?php echo base_url(); ?>public/images/support_online.jpg" width="210" height="135" /></div>
            <div id="custom_trip"><img src="<?php echo base_url(); ?>public/images/custom_your_trip.jpg" width="210" /></div>
            <div id="travel_guide"><img src="<?php echo base_url(); ?>public/images/travel_guide.jpg" width="210" height="135" /></div>
        </div>
        <div class="cls"></div>
    </div>
</div>
<!-- ############################## end body content ############################## -->